package argos.deploy;

import java.net.URL;

public class OpenClassLoader extends ClassLoader {
	public OpenClassLoader(ClassLoader loader) {
		super(loader);
	}
	
	@Override
	public Class<?> findClass(String name) throws ClassNotFoundException {
		return super.findClass(name);
	}

	@Override
	public URL findResource(String name) {
		return getParent().getResource(name);
	}

	@Override
	public Package getPackage(String name) {
		return super.getPackage(name);
	}
	
	@Override
	public synchronized Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException {
		return super.loadClass(name, resolve);
	}
}
